package cj.web.activity.utils;

public class Constants {

	public static String charset = "utf-8";  
	
	public static final int bestVoice = 1;
	//上榜歌曲
	public static final String BESTVOICE_VOTE_TYPE_LIST_SONG = "1";
	//打榜歌曲
	public static final String BESTVOICE_VOTE_TYPE_HIT_SONG = "2";
	
	//返回对象
	public interface returnObj
	{
		//0:true
		public String returnFlag_true="0";
		//1:flase
		public String returnFlag_flase="1";
		//2:操作重复
		public String returnFlag_repeat="2";
	}
	
	//删除标记 0:删除 1:没删除
	public interface deleteFlag
	{
		//0:删除
		public int deleteFlag_0=0;
		//1:没删除
		public int deleteFlag_1=1;
	}

	/**
	 * 活动组常量
	 * @author dell
	 *
	 */
	public interface Activity
	{
		//现场下载推广
		public final String ActivityId_5="5";
		//汉街摇奖
		public final String ActivityId_6="6";
		
		//0、待确认;1、已确认;2、无效;3、未中奖
		public final int Status_0 =0;
		public final int Status_1 =1;
		public final int Status_2 =2;
		public final String Status_3 ="-1";
		
		//活动为开始	A00:开始		A01:未开始	A02:你已抽过奖
		public final String code_A00="A00";
		public final String code_A01="A01";
		public final String code_A02="A02";
		
		public final String code_A03="A03";//设备已参与报名
		public final String code_A04="A04";//手机已参与报名
		public final String code_A99="A99";//报名成功
	}
	
	/**
	 * 微信Key
	 * @author dell
	 *
	 */
	public static interface weixinkey
	{
		//AppID
		public static String AppID="wxaf929406c9caf70e";
		//AppSecret
		public static String AppSecret="9be3e738019fa3a7ddeca0a25ef7459d";
		//微信初始化请求
		public static String weixinUrl="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid="+AppID+"&secret="+AppSecret;
		//获取用户增减数据（getusersummary）
		public static String getusersummary="https://api.weixin.qq.com/datacube/getusersummary?access_token=";
		//获取累计用户数据（getusercumulate）
		public static String getusercumulate="https://api.weixin.qq.com/datacube/getusercumulate?access_token=";
		
		//获取图文群发每日数据（getarticlesummary）
		public static String getarticlesummary="https://api.weixin.qq.com/datacube/getarticlesummary?access_token=";
		//获取图文群发总数据（getarticletotal）
		public static String getarticletotal="https://api.weixin.qq.com/datacube/getarticletotal?access_token=";
		//获取图文统计数据（getuserread）
		public static String getuserread="https://api.weixin.qq.com/datacube/getuserread?access_token=";
		//获取图文统计分时数据（getuserreadhour）
		public static String getuserreadhour="https://api.weixin.qq.com/datacube/getuserreadhour?access_token=";
		//获取图文分享转发数据（getusershare）
		public static String getusershare="https://api.weixin.qq.com/datacube/getusershare?access_token=";
		//获取图文分享转发分时数据（getusersharehour）
		public static String getusersharehour="https://api.weixin.qq.com/datacube/getusersharehour?access_token=";
		
		//获取消息发送概况数据（getupstreammsg）		
		public static String getupstreammsg="https://api.weixin.qq.com/datacube/getupstreammsg?access_token=";
		//获取消息分送分时数据（getupstreammsghour）		
		public static String getupstreammsghour="https://api.weixin.qq.com/datacube/getupstreammsghour?access_token=";
		//获取消息发送周数据（getupstreammsgweek）	
		public static String getupstreammsgweek="https://api.weixin.qq.com/datacube/getupstreammsgweek?access_token=";
		//获取消息发送月数据（getupstreammsgmonth）	
		public static String getupstreammsgmonth="https://api.weixin.qq.com/datacube/getupstreammsgmonth?access_token=";
		//获取消息发送分布数据（getupstreammsgdist）		
		public static String getupstreammsgdist="https://api.weixin.qq.com/datacube/getupstreammsgdist?access_token=";
		//获取消息发送分布周数据（getupstreammsgdistweek）		
		public static String getupstreammsgdistweek="https://api.weixin.qq.com/datacube/getupstreammsgdistweek?access_token=";
		//获取消息发送分布月数据（getupstreammsgdistmonth）		
		public static String getupstreammsgdistmonth="https://api.weixin.qq.com/datacube/getupstreammsgdistmonth?access_token=";
	}
}
